package com.example.ssss.request;

import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;

import com.example.ssss.data.HttpRequestManager;
import com.example.ssss.databinding.ActivityHistoryDetailBinding;
import com.example.ssss.entity.HistoryResponse;
import com.example.ssss.state.HistoryDetailViewModel;

public class RequestHistoryViewModel extends ViewModel {

    public MutableLiveData<HistoryResponse> status=new MutableLiveData<>();

    public void requestDataBase(int index,String userid){
        HttpRequestManager.getInstance().select(status,index,userid);

    }
}
